package com.twl.app.base.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/***
 * 参保比例
 * 
 * @author uatzhangxc
 * 
 */

@SuppressWarnings("serial")
@Entity
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
@Table(name = "Companyb")
@SequenceGenerator(name = "instance_sequence", sequenceName = "SEQ_COMPANYB_DID", allocationSize = 1)
public class Companyb implements Serializable {

	private Integer did;//主键
	private String nateuretext;// 参保文本
	
	private String nature; // 参保属性
	private String accumuldan; // 公积金单位
	private String nursingdan; // 养老单位
	private String healthdan;// 医疗单位
	private String unempdan;// 失业单位
	private String firmsdan;// 工伤单位
	private String fertilitydan;// 生育单位
	private String accumulper;// 公积金个人
	private String nursingper;// 养老个人
	private String healthper;// 医疗个人
	private String unempper;// 失业个人
	private Integer cardinaLdou;//保留几个小数
	private Integer cardialadd;//公积金保留几个小数  
	
	
	private String Handidan;// 残保单位
	private String diseasedan;// 重大疾病单位

	 
	public Companyb(Integer did, String nateuretext, String nature,
			String accumuldan, String nursingdan, String healthdan,
			String unempdan, String firmsdan, String fertilitydan,
			String accumulper, String nursingper, String healthper,
			String unempper, String handidan, String diseasedan,
			Integer cardinaLdou, Integer cardialadd) {
		super();
		this.did = did;
		this.nateuretext = nateuretext;
		this.nature = nature;
		this.accumuldan = accumuldan;
		this.nursingdan = nursingdan;
		this.healthdan = healthdan;
		this.unempdan = unempdan;
		this.firmsdan = firmsdan;
		this.fertilitydan = fertilitydan;
		this.accumulper = accumulper;
		this.nursingper = nursingper;
		this.healthper = healthper;
		this.unempper = unempper;
		Handidan = handidan;
		this.diseasedan = diseasedan;
		this.cardinaLdou = cardinaLdou;
		this.cardialadd = cardialadd;
	}

	@Column(name = "nateuretext")
	public String getNateuretext() {
		return nateuretext;
	}

	public void setNateuretext(String nateuretext) {
		this.nateuretext = nateuretext;
	}

	@Column(name = "cardialadd")
	public Integer getCardialadd() {
		return cardialadd;
	}

	public void setCardialadd(Integer cardialadd) {
		this.cardialadd = cardialadd;
	}

	@Column(name = "cardinaLdou")
	public Integer getCardinaLdou() {
		return cardinaLdou;
	}

	public void setCardinaLdou(Integer cardinaLdou) {
		this.cardinaLdou = cardinaLdou;
	}

	public Companyb() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "instance_sequence")
	public Integer getDid() {
		return did;
	}

	public void setDid(Integer did) {
		this.did = did;
	}

	@Column(name = "nature")
	public String getNature() {
		return nature;
	}

	public void setNature(String nature) {
		this.nature = nature;
	}

	@Column(name = "accumuldan")
	public String getAccumuldan() {
		return accumuldan;
	}

	public void setAccumuldan(String accumuldan) {
		this.accumuldan = accumuldan;
	}

	@Column(name = "nursingdan")
	public String getNursingdan() {
		return nursingdan;
	}

	public void setNursingdan(String nursingdan) {
		this.nursingdan = nursingdan;
	}

	@Column(name = "healthdan")
	public String getHealthdan() {
		return healthdan;
	}

	public void setHealthdan(String healthdan) {
		this.healthdan = healthdan;
	}

	@Column(name = "unempdan")
	public String getUnempdan() {
		return unempdan;
	}

	public void setUnempdan(String unempdan) {
		this.unempdan = unempdan;
	}

	@Column(name = "firmsdan")
	public String getFirmsdan() {
		return firmsdan;
	}

	public void setFirmsdan(String firmsdan) {
		this.firmsdan = firmsdan;
	}

	@Column(name = "fertilitydan")
	public String getFertilitydan() {
		return fertilitydan;
	}

	public void setFertilitydan(String fertilitydan) {
		this.fertilitydan = fertilitydan;
	}

	@Column(name = "Handidan")
	public String getHandidan() {
		return Handidan;
	}

	public void setHandidan(String handidan) {
		Handidan = handidan;
	}

	@Column(name = "diseasedan")
	public String getDiseasedan() {
		return diseasedan;
	}

	public void setDiseasedan(String diseasedan) {
		this.diseasedan = diseasedan;
	}

	@Column(name = "accumulper")
	public String getAccumulper() {
		return accumulper;
	}

	public void setAccumulper(String accumulper) {
		this.accumulper = accumulper;
	}

	@Column(name = "nursingper")
	public String getNursingper() {
		return nursingper;
	}

	public void setNursingper(String nursingper) {
		this.nursingper = nursingper;
	}

	@Column(name = "healthper")
	public String getHealthper() {
		return healthper;
	}

	public void setHealthper(String healthper) {
		this.healthper = healthper;
	}

	@Column(name = "unempper")
	public String getUnempper() {
		return unempper;
	}

	public void setUnempper(String unempper) {
		this.unempper = unempper;
	}

}
